<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ page isELIgnored="false" pageEncoding="utf-8"%>
<% String ctx = request.getContextPath();%>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="<%=ctx%>/include/css/screen.css" type="text/css" media="screen" title="default" />
<!--[if IE]>
<link rel="stylesheet" media="all" type="text/css" href="css/pro_dropline_ie.css" />
<![endif]-->

<!--  jquery core -->
<script src="<%=ctx%>/include/js/jquery/jquery.min.js" type="text/javascript"></script>
<script src="<%=ctx%>/include/js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
 
<!--  checkbox styling script -->
<script src="<%=ctx%>/include/js/jquery/ui.core.js" type="text/javascript"></script>
<script src="<%=ctx%>/include/js/jquery/ui.checkbox.js" type="text/javascript"></script>
<script src="<%=ctx%>/include/js/jquery/jquery.bind.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$('input').checkBox();
	$('#toggle-all').click(function(){
		$('#toggle-all').toggleClass('toggle-checked');
		$('#mainform input[type=checkbox]').checkBox('toggle');		
		return false;
	});
});
</script>  


<![if !IE 7]>

<!--  styled select box script version 1 -->
<script src="<%=ctx%>/include/js/jquery/jquery.selectbox-0.5.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect').selectbox({ inputClass: "selectbox_styled" });
});
</script>
 

<![endif]>


<!--  styled select box script version 2 --> 
<script src="<%=ctx%>/include/js/jquery/jquery.selectbox-0.5_style_2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect_form_1').selectbox({ inputClass: "styledselect_form_1" });
	$('.styledselect_form_2').selectbox({ inputClass: "styledselect_form_2" });
});
</script>

<!--  styled select box script version 3 --> 
<script src="<%=ctx%>/include/js/jquery/jquery.selectbox-0.5_style_2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect_pages').selectbox({ inputClass: "styledselect_pages" });
});
</script>

<!--  styled file upload script --> 
<script src="<%=ctx%>/include/js/jquery/jquery.filestyle.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
$(function() {
	$("input.file_1").filestyle({ 
	image: "images/forms/upload_file.gif",
	imageheight : 29,
	imagewidth : 78,
	width : 300
	});
});
</script>

<!-- Custom jquery scripts -->
<script src="<%=ctx%>/include/js/jquery/custom_jquery.js" type="text/javascript"></script>
 
<!-- Tooltips -->
<script src="<%=ctx%>/include/js/jquery/jquery.tooltip.js" type="text/javascript"></script>
<script src="<%=ctx%>/include/js/jquery/jquery.dimensions.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$('a.info-tooltip ').tooltip({
		track: true,
		delay: 0,
		fixPNG: true, 
		showURL: false,
		showBody: " - ",
		top: -35,
		left: 5
	});
});
</script> 


<!-- artDialog -->
<script src="<%=ctx%>/include/js/artDialog/artDialog.source.js?skin=green" type="text/javascript"></script>
<script src="<%=ctx%>/include/js/artDialog/plugins/iframeTools.source.js"></script>


<!-- ztree -->
<link rel="stylesheet" href="<%=ctx%>/include/js/ztree/css/zTreeStyle/zTreeStyle.css" type="text/css">
<script type="text/javascript" src="<%=ctx%>/include/js/ztree/js/jquery.ztree.core-3.4.js"></script>
<script type="text/javascript" src="<%=ctx%>/include/js/ztree/js/jquery.ztree.excheck-3.4.js"></script>

<!-- MUST BE THE LAST SCRIPT IN <HEAD></HEAD></HEAD> png fix -->
<script src="<%=ctx%>/include/js/jquery/jquery.pngFix.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$(document).pngFix( );
});
</script>
<script type="text/javascript">
	function openArtDialog(url,title,width,height,isresize,islock){
		if(typeof(title)=='undifined'||title==null||title==''){
			title='信息';
		}
		if(typeof(width)=='undifined'||width==null){
			width=600;
		}
		
		if(typeof(height)=='undifined'||height==null){
			height=400;
		}
		
		
		if(typeof(isresize)=='undifined'||isresize==null){
			isresize=false;
		}
		
		
		if(typeof(islock)=='undifined'||islock==null){
			islock=true;
		}
		
		var artParam = {
			title:title,
			width:width,
			height:height,
			resize:isresize,
			lock:islock
		}
		art.dialog.open(url, artParam);
	}

	//菜单点击事件
	$(document).ready(function(){
		$(".table ul").click(function(){
			$(this).siblings(".select").removeClass("current");
			$(this).addClass("current");
			$(this).find("div").first().addClass("show");
			return false;
		});
	});
</script>

